package com.github.prontera.domain;

import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import com.github.prontera.model.BasicDomain;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * u_client_income-代理人收入
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class ClientIncome extends BasicDomain{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 
	 */
	@ApiModelProperty(value = "")
    private Long clientId;
	/**
	 * 收益金额(消费金额/返利基数)
	 */
	@ApiModelProperty(value = "收益金额(消费金额/返利基数)")
    private BigDecimal amount;
	/**
	 * 日利息率
	 */
	@ApiModelProperty(value = "日利息率")
    private BigDecimal rate;
	/**
	 * 累计返利
	 */
	@ApiModelProperty(value = "累计返利")
    private BigDecimal rebateNum;
	/**
	 * 0:达人消费返利,1:邀请达人返利, 2:邀请消费者返利,3:任务保证金收益,4:,3:技能激活码收益
	 */
	@ApiModelProperty(value = "0:达人消费返利,1:邀请达人返利, 2:邀请消费者返利,3:任务保证金收益,4:,3:技能激活码收益")
    private Integer type;
	/**
	 * 0:待完成结算,1:已完成结算
	 */
	@ApiModelProperty(value = "0:待完成结算,1:已完成结算")
    private Integer status;
	/**
	 * 
	 */
	@ApiModelProperty(value = "")
    private Long clientConsumeId;
	/**
	 * 邀请人(使用谁得邀请码注册,这里填入他ID)
	 */
	@ApiModelProperty(value = "邀请人(使用谁得邀请码注册,这里填入他ID)")
    private Long invitationClientId;
    
    public ClientIncome(){
    
    }
    
    public Long getClientId() {
        return this.clientId;
    }
    
    public void setClientId(Long clientId) {
        this.clientId = clientId;
    }
    public BigDecimal getAmount() {
        return this.amount;
    }
    
    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }
    public BigDecimal getRate() {
        return this.rate;
    }
    
    public void setRate(BigDecimal rate) {
        this.rate = rate;
    }
    public BigDecimal getRebateNum() {
        return this.rebateNum;
    }
    
    public void setRebateNum(BigDecimal rebateNum) {
        this.rebateNum = rebateNum;
    }
    public Integer getType() {
        return this.type;
    }
    
    public void setType(Integer type) {
        this.type = type;
    }
    public Integer getStatus() {
        return this.status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }
    public Long getClientConsumeId() {
        return this.clientConsumeId;
    }
    
    public void setClientConsumeId(Long clientConsumeId) {
        this.clientConsumeId = clientConsumeId;
    }
    public Long getInvitationClientId() {
        return this.invitationClientId;
    }
    
    public void setInvitationClientId(Long invitationClientId) {
        this.invitationClientId = invitationClientId;
    }
    
}
